package br.com.montezuma.despesas.models;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;

import br.com.caelum.vraptor.Resource;

/**
 * <pre>
 * @author : Rodrigo Bastos
 * Purpose :  Representation of Escritorio.
 * Amendment History                                                                
 * Date - Name - Description                              
 * 20/05/2012 - Rodrigo Bastos - initial version.
 * 
 * Copyright 2012 Montezuma Software
 * </pre>
 */
@Resource
@Entity
public class Escritorio {
	@Id
	@GeneratedValue
	private long id;
	@Column(length = 50, nullable = false)
	private String descricao;

	/**
	 * @return the id
	 */
	public long getId() {
		return id;
	}

	/**
	 * @param id
	 *            the id to set
	 */
	public void setId(long id) {
		this.id = id;
	}

	public String getDescricao() {
		return descricao;
	}

	public void setDescricao(String descricao) {
		this.descricao = descricao;
	}
}